package com.hrma.dao;

import com.github.pagehelper.Page;
import com.hrma.entity.RecruitSchedule;
import com.hrma.entity.RecruitScheduleDTO;
import com.hrma.entity.RecruitScheduleVO;
import com.hrma.entity.SelectResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecruitScheduleMapper {
    void add(Integer talentPoolId,Integer personChargeId);

    void delete(int id);

    void update(RecruitSchedule data);

    List<SelectResult> select();

    Page<RecruitScheduleVO> getList(RecruitScheduleDTO data);

    boolean exist(@Param("id") Integer id);

    String getstate(Integer id);
}
